package com.client.model.vo.creditLoanVo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 周佳辉
 * @date 2024/4/12
 */
@Data
public class ArBanksVo {
    /**
     * 银行卡表
     */
    @TableId(value = "cid")
    private Long cid;

    /**
     * 银行卡号
     */
    @TableField(value = "bank_card")
    private String bankCard;

    /**
     * 与salt进行加密
     */
    @TableField(value = "pay_password")
    private String payPassword;

    /**
     * 盐
     */
    @TableField(value = "salt")
    private String salt;

    /**
     * 预留手机号
     */
    @TableField(value = "moblie")
    private String moblie;

    /**
     * 真实姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 银行卡余额
     */
    @TableField(value = "balance")
    private BigDecimal balance;

    /**
     * 冗余字段
     */
    @TableField(value = "remark")
    private Integer remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 默认是0值
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 所属用户外键
     */
    @TableField(value = "uid")
    private Long uid;

    /**
     * 银行卡类型
     */
    @TableField(value = "tid")
    private Long tid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 电子账户
     */
    @TableField(value = "eid")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long eid;


}
